package com.ibeeking.found.content.service.common.constants;

/**
 * @ClassName RedisKeyConstant
 * @Description redisKey
 * @Author ibeeking
 * @Date 2020-06-29 14:54
 **/
public class RedisKeyConstant {

    /**
     * 模块
     */
    public static final String CONTENT_B = "CONTENT_B:";
    public static final String CONTENT_C = "CONTENT_C:";

    /**
     * 30天
     */
    public static final long MONTH = 10125 << 8L;
    /**
     * 1天
     */
    public static final long DAY = 675 << 7L;
    /**
     * 半天
     */
    public static final long HALF_DAY = 675 << 6L;
    /**
     * 1小时
     */
    public static final long HOUR = 225 << 4L;

    /**
     * 优惠券
     */
    public static final String COUPON = "COUPON:";

    public static final String QR_CODE = CONTENT_C + "QR_CODE:";

    public static final String WX_OPEN_CONFIG_KEY = "wx:open:config:";

    public static final String WX_OPEN_AUTH_KEY = "wx:open:auth:";
    /**
     * 会员签到缓存
     */
    public static final String MEMBER_SIGN_IN = CONTENT_C + "MEMBER_SIGN_IN_SCENE:";

    /**
     * 弹框广告推送给会员次数记录
     */
    public static final String POPUP_ADS_PUSH_QTY_RECORD = "POPUP_ADS_PUSH_QTY_RECORD:";
    public static final String CAMPAIGN_STATUS_LIST = "CAMPAIGN_STATUS_LIST";

    public static final String ANSWER_WIN_AWARD_JOIN_QTY = "ANSWER_WIN_AWARD_JOIN_QTY:";

}
